package com.xinli.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinli.common.annotation.Excel;
import com.xinli.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 圈子对象 lf_topic
 *
 * @author ruoyi
 * @date 2025-03-26
 */
@Data
@TableName(value = "lf_topic")
@EqualsAndHashCode(callSuper = true)
public class LfTopic extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * "创建用户id"
     */
    @Excel(name = "创建用户id")
    private Long uid;

    /**
     * "分类id"
     */
    @Excel(name = "分类id")
    private Long cateId;

    /**
     * "圈子名称"
     */
    @Excel(name = "圈子名称")
    private String topicName;

    /**
     * "描述"
     */
    @Excel(name = "描述")
    private String description;

    /**
     * "logo"
     */
    @Excel(name = "logo")
    private String coverImage;

    /**
     * "背景图"
     */
    @Excel(name = "背景图")
    private String bgImage;

    /**
     * "推荐类型：0 不推荐1首页推荐2圈子页推荐"
     */
    @Excel(name = "推荐类型：0 不推荐1首页推荐2圈子页推荐")
    private Long topType;

    /**
     * "圈子状态：0 正常 ，1禁用"
     */
    @Excel(name = "圈子状态：0 正常 ，1禁用")
    private Long status;

    /**
     * "是否首页推荐圈子内容"
     */
    @Excel(name = "是否首页推荐圈子内容")
    private Long indexRecommend;

    /**
     * "加入人数"
     */
    @Excel(name = "加入人数")
    private Long userNum;

    /**
     * "进圈条件0无限制1答题并审核"
     */
    @Excel(name = "进圈条件0无限制1答题并审核")
    private Long rest;

    /**
     * "问题内容设置"
     */
    @Excel(name = "问题内容设置")
    private String question;

    /**
     * "是否私密：0公开1私密"
     */
    @Excel(name = "是否私密：0公开1私密")
    private Long isPrivacy;

    /**
     * "背景色"
     */
    @Excel(name = "背景色")
    private String bgColor;

    /**
     * "圈子的分区"
     */
    @Excel(name = "圈子的分区")
    private String className;

    /**
     * "${comment}"
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ruleDesc;

}
